/**
    店铺配置信息 组件
**/
(function(vc){

    vc.extends({
        propTypes: {
           callBackListener:vc.propTypes.string, //父组件名称
           callBackFunction:vc.propTypes.string //父组件监听方法
        },
        data:{
            viewShopSettingInfo:{
                index:0,
                flowComponent:'viewShopSettingInfo',
                ssId:'',
shopId:'',
settingName:'',
settingType:'',
settingKey:'',
settingValue:'',
remark:'',
statusCd:'',

            }
        },
        _initMethod:function(){
            //根据请求参数查询 查询 业主信息
            $that._loadShopSettingInfoData();
        },
        _initEvent:function(){
            vc.on('viewShopSettingInfo','chooseShopSetting',function(_app){
                vc.copyObject(_app, $that.viewShopSettingInfo);
                vc.emit($props.callBackListener,$props.callBackFunction,$that.viewShopSettingInfo);
            });

            vc.on('viewShopSettingInfo', 'onIndex', function(_index){
                $that.viewShopSettingInfo.index = _index;
            });

        },
        methods:{

            _openSelectShopSettingInfoModel(){
                vc.emit('chooseShopSetting','openChooseShopSettingModel',{});
            },
            _openAddShopSettingInfoModel(){
                vc.emit('addShopSetting','openAddShopSettingModal',{});
            },
            _loadShopSettingInfoData:function(){

            }
        }
    });

})(window.vc);
